package com.ucampus.service;

import com.ucampus.entity.ResponseData;
import com.ucampus.entity.userinfo;

import java.util.List;

public interface userinfoService {
    List<userinfo> getAllUsers();

    userinfo getUserById(long id);// 根据 ID 获取用户信息

    boolean updateUser(userinfo user); // 更新用户信息

    ResponseData getUsers();

    ResponseData getUsersByName(String username);

    ResponseData updateStatus(List<Integer> list);

    void deleteUser(long id);

    ResponseData delete(List<Integer> list);
}
